<?php

class Area extends AppModel {
    public $useTable = 'tab_area';

    public function listaAreas(){
    	return $this->find('list', array('fields' => array('Area.id', 'Area.descricao')));
    }

    public function buscaAreaPorId($id_area){
    	return $this->find('first', array('conditions' => array('Area.id' => $id_area)));
    }
    
}


?>